package asf.views
{
	import asf.sections.Section;
	
	import flash.display.Sprite;

	public class View extends Sprite
	{
		private var _section:Section;
		
	 	public function View( p_section:Section )
		{
			super( );
			_section = p_section;
		}
		
		public function getSection( ):Section
		{
			return _section;
		}
		
		public function get section( ):Section
		{
			return getSection( );
		}
		
		public function get baseLayer( ):Sprite
		{
			return section.layer;
		}
		
		public function dispose( ):void
		{
			_section.dispose( );
			_section = null;
		}
	}
}